/**
 * output package name
 */
package com.kingdee.eas.custom.quality;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class Deal extends StringEnum
{
    public static final String BACKWORK_VALUE = "10";
    public static final String BACKEDIT_VALUE = "20";
    public static final String DOWN_VALUE = "30";
    public static final String REJECT_VALUE = "40";
    public static final String GIVEIN_VALUE = "50";

    public static final Deal backWork = new Deal("backWork", BACKWORK_VALUE);
    public static final Deal backEdit = new Deal("backEdit", BACKEDIT_VALUE);
    public static final Deal down = new Deal("down", DOWN_VALUE);
    public static final Deal reject = new Deal("reject", REJECT_VALUE);
    public static final Deal giveIn = new Deal("giveIn", GIVEIN_VALUE);

    /**
     * construct function
     * @param String deal
     */
    private Deal(String name, String deal)
    {
        super(name, deal);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static Deal getEnum(String deal)
    {
        return (Deal)getEnum(Deal.class, deal);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(Deal.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(Deal.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(Deal.class);
    }
}